home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCM_502_EachDialog < prev    next >
Encoding:
Text File  |  1992-04-08  |  700 b   |  30 lines

  1. %case sourcefile%
  2.     %genfile dialog U+dlogname+.cp%
  3.     %genfile dialog.h U+dlogname+.h%
  4. %case include%
  5.     #ifndef __U%dlogname%__
  6.         #include "U%dlogname%.h"
  7.     #endif
  8. %case dependency%
  9.     "{SrcApp}U%dlogname%.h" ∂
  10. %case makeDepend%
  11.  
  12.     "{ObjApp}U%dlogname%.cp.o"%    %ƒ    "{SrcApp}U%dlogname%.cp" ∂
  13.                                     "{SrcApp}U%dlogname%.h" ∂
  14.                                     "{SrcApp}ResourceDefs.h" ∂
  15.                                     {CPlusLoad}
  16. %case instanceModeless%
  17.     %if modeless%
  18.         TWindow            *f%dlogname%;
  19.     %endif%
  20. %case DoToField%
  21.     %if modeless%
  22.         (*DoToField) ("\pf%dlogname%", (Ptr)&f%dlogname%, bObject, DoToField_StaticLink);
  23.     %endif%
  24. %case createModeless%
  25.     %if modeless%
  26.         f%dlogname% = New%dlogname% ();
  27.     %endif%
  28. %case linkFile%
  29.     "{ObjApp}U%dlogname%.cp.o" ∂
  30.